load("//tools:defaults.bzl", "ts_project", "zoneless_jasmine_test", "zoneless_web_test_suite")

ts_project(
    name = "test_lib",
    testonly = True,
    srcs = glob(
        ["**/*.ts"],
    ),
    # Visible to //:saucelabs_unit_tests_poc target
    visibility = ["//:__pkg__"],
    deps = [
        "//packages/core/primitives/dom-navigation/testing",
        "//packages/private/testing",
    ],
)

zoneless_jasmine_test(
    name = "test",
    data = [
        ":test_lib",
    ],
)

zoneless_web_test_suite(
    name = "test_web",
    deps = [
        ":test_lib",
    ],
)
